﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DataModel
{
    public class UserMessages
    {
        private decimal id;
        private string sender;
        private string receiver;
        private decimal idEvent;
        private string eventTitle;
        private string eventMark;
        private DateTime eventDate;
        private bool wasRead;

        public decimal Id
        {
            get { return id; }
            set { id = value; }
        }

        public string Sender
        {
            get { return sender; }
            set { sender = value; }
        }

        public string Receiver
        {
            get { return receiver; }
            set { receiver = value; }
        }

        public decimal IdEvent
        {
            get { return idEvent; }
            set { idEvent = value; }
        }

        public string EventTitle
        {
            get { return eventTitle; }
            set { eventTitle = value; }
        }

        public string EventMark
        {
            get { return eventMark; }
            set { eventMark = value; }
        }

        //helper property just for event's date presenting
        public DateTime EventDate
        {
            get { return eventDate; }
            set { eventDate = value; }
        }

        public bool WasRead
        {
            get { return wasRead; }
            set { wasRead = value; }
        }
        
    }
}